package com.cztv.vote.bean;

import java.io.Serializable;

public class VoteProjectBean implements Serializable{
	private static final long serialVersionUID = 5535951737141315238L;
	
	private int pid;
	
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	//是否需要验证码
	private boolean isCode;
	
	//是否ip限制
	private boolean isIp;
	
	//ip限制时长
	private long ipTimeLimit;
	
	//是否限制投票数
	private boolean isVoteNum;
	
	//最大投票数
	private int voteNumLimit;
	
	//项目是否打开
	private boolean ispOpen;
	
	//投票开始时间
	private long regtime;
	//投票结束时间
	private long endtime;
	
	public boolean isCode() {
		return isCode;
	}
	public void setCode(boolean isCode) {
		this.isCode = isCode;
	}
	public boolean isIp() {
		return isIp;
	}
	public void setIp(boolean isIp) {
		this.isIp = isIp;
	}
	public long getIpTimeLimit() {
		return ipTimeLimit;
	}
	public void setIpTimeLimit(long ipTimeLimit) {
		this.ipTimeLimit = ipTimeLimit;
	}
	public boolean isVoteNum() {
		return isVoteNum;
	}
	public void setVoteNum(boolean isVoteNum) {
		this.isVoteNum = isVoteNum;
	}
	public int getVoteNumLimit() {
		return voteNumLimit;
	}
	public void setVoteNumLimit(int voteNumLimit) {
		this.voteNumLimit = voteNumLimit;
	}
	public boolean isIspOpen() {
		return ispOpen;
	}
	public void setIspOpen(boolean ispOpen) {
		this.ispOpen = ispOpen;
	}
	public long getRegtime() {
		return regtime;
	}
	public void setRegtime(long regtime) {
		this.regtime = regtime;
	}
	public long getEndtime() {
		return endtime;
	}
	public void setEndtime(long endtime) {
		this.endtime = endtime;
	}
	
	

}
